<template>
  <div id="app">
    <button @click="btn">1212</button>
  </div>
</template>

<script>
export default {
  name: 'App',
  methods: {
    async btn () {
      const { data } = await this.$http.get('/menu')
      console.log(data)
    }
  }
}
</script>
